package com.lely.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description: TODO
 * @Author luoyong
 * @Date 2021/6/19 8:35 下午
 */
@Component
@FeignClient(value = "testp", fallback = TestFallbackService.class)
public interface TestFeignService {

    /**
     * 测试
     */
    @GetMapping(value = "/p/test")
    String test();
}